package com.zygh.lz.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class StationData implements Serializable {

    private List<Object> data = new ArrayList<>();
    private Integer num = 0;
    private String gangwei;

    public void addData( Object data ){
        this.data.add( data );
        this.num++;
    }
}
